Account = {
balance = 10,
names=0,
}
    

function Account:withdraw (v)
      self.balance = self.balance - v
end
    
function Account:new (o)
  o = o or {}   
  setmetatable(o, self)
  self.__index = self
  return o
end

function Account:show()
	print("this is account show")
end

function Account:getBalance()
	return self.balance
end

function Account:setBalance(val)
	self.balance = val
end

function test1(tb)
	show("hello world")
	print("tb.valb = " .. tb.valb)
	tb.valb = 200
	tb:func()
	--tb()
end

function test2()
	return {1,2,3,4,5}
end

function test3()
	account = Account:new();
	account.balance = 100
	account.name = "sniperHW"
	return account
end

function test4(account)
	print(account.name)
end



